﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GiaoDien_BTCD.Master" AutoEventWireup="true" CodeBehind="DSHoatDongDoan.aspx.cs" Inherits="BT_web__nhom06.BiThuChiDoan.DSHoatDongDoan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div class="title" style="text-align: center">
        Thông Tin Hoạt Động Đoàn       
    </div>
    <div style="margin-left: 450px"></div>

    <div class="section_box" align="center">

        <asp:GridView ID="gvQLHoatDongDoan" runat="server" AutoGenerateColumns="False" CellPadding="4" EnableModelValidation="True" ForeColor="#333333" GridLines="None" Width="478px">
        <AlternatingRowStyle BackColor="White" />
            <Columns>
            
             <asp:TemplateField HeaderText="Tên H Động">
                 <ItemTemplate>
                     <a href='ThongTinHoatDongDoan.aspx?id=<%#Eval("MaHoatDong") %>'>  <%#Eval("TenHoatDong") %></a>
                 </ItemTemplate>
             </asp:TemplateField>

            <asp:BoundField DataField="tgbatdau" HeaderText="TG" DataFormatString="{0:d}" />
            <asp:BoundField DataField="diadiem" HeaderText="Địa điểm" />
            <asp:BoundField DataField="hotennguoiphutrach" HeaderText="Phụ trách" />
            <asp:BoundField DataField="sodtnguoiphutrach" HeaderText="Đ Thoại" />

             
         </Columns>
                     <EditRowStyle BackColor="#2461BF" />
         <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
         <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
         <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
         <RowStyle BackColor="#EFF3FB" />
         <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>
        
          <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Xuất tập tin Excel" />
        
          <br />
    </div>
</asp:Content>

